package com.sc.byahi.user.client.components.maps;


import com.google.gwt.core.client.JavaScriptObject;

public class LatLngBounds extends JavaScriptObject {

  protected LatLngBounds() {
  }

  public final static LatLngBounds newInstance(LatLng sw, LatLng ne) {
    return createJso(sw, ne).cast();
  }

  private final static native JavaScriptObject createJso(LatLng sw, LatLng ne) /*-{
    return new $wnd.google.maps.LatLngBounds(sw, ne);
  }-*/;

  public final native boolean contains(LatLng latlng) /*-{
    return this.contains(latlng);
  }-*/;

  public final native boolean equals(LatLngBounds other) /*-{
    return this.equals(other);
  }-*/;

  public final native LatLngBounds extend(LatLng point) /*-{
    return this.extend(point);
  }-*/;

  public final native LatLng getCenter() /*-{
    return this.getCenter();
  }-*/;

  public final native String getToString() /*-{
    return this.toString();
  }-*/;

}
